home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.hitl.washington.edu
/
ftp.hitl.washington.edu.tar
/
ftp.hitl.washington.edu
/
pub
/
people
/
tsoper
/
My Sample Apps
/
OpenGLApp
/
Form1.cs
< prev
next >
Wrap
Text File
|
2005-05-08
|
627b
|
35 lines
using System;
using System.Drawing;
using System.Windows.Forms;
using CsGL.OpenGL;
public class SampleForm : Form
{
View view = new View();
private void InitializeComponent()
{
//
// SampleForm
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(292, 266);
this.Name = "SampleForm";
}
public SampleForm()
{
Text = "Main Form";
SetClientSizeCore(800,500);
//view.Dock = DockStyle.Fill;
Controls.Add( view );
this.IsMdiContainer = true;
AnotherForm form2 = new AnotherForm( this );
this.Focus();
}
}